namespace Medical.Domain
{
    /// <summary>
    /// 门诊单模板实体（根据图片字段）
    /// </summary>
    public class OutpatientOrderTemplate
    {
        public long TemplateId { get; set; }
        public string TemplateName { get; set; } = string.Empty;
        public string? Description { get; set; }
        public bool IsActive { get; set; } = true;
        public bool IsDefault { get; set; } = false;

        // 打印项目勾选项
        public bool ShowSerialNumber { get; set; } // 编号
        public bool ShowDepartment { get; set; } // 科室
        public bool ShowDoctor { get; set; } // 医师
        public bool ShowPrescription { get; set; } // 处方药
        public bool ShowBedNumber { get; set; } // 病床号
        public bool ShowConsultationTime { get; set; } // 问诊时间
        public bool ShowAdmissionTime { get; set; } // 入院时间
        public bool ShowDischargeTime { get; set; } // 出院时间
        public bool ShowExpenseDetails { get; set; } // 消费明细
        public bool ShowCashier { get; set; } // 收银员
        public bool ShowAmount { get; set; } // 消费金额

        // 逻辑删除与审计
        public bool IsDeleted { get; set; } = false;
        public DateTime? DeletedAt { get; set; }
        public string? DeletedBy { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime UpdatedAt { get; set; } = DateTime.Now;
    }
}
